﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="List_of_Items.aspx.vb" Inherits="Dabke.List_of_Items" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <p>
    <br />
</p>
<p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="DabkaDataSource" AllowSorting="True" CellPadding="4" 
        ForeColor="#333333" GridLines="None" DataKeyNames="ID" Height="159px" 
        Width="454px" style="margin-top: 0px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="Dabka_Name" HeaderText="Dabka_Name" 
                SortExpression="Dabka_Name"></asp:BoundField>
            <asp:BoundField DataField="Dabka_Country" HeaderText="Dabka_Country" 
                SortExpression="Dabka_Country" />
            <asp:BoundField DataField="Dabka_Gender" HeaderText="Dabka_Gender" 
                SortExpression="Dabka_Gender" />
           
            <asp:HyperLinkField DataNavigateUrlFields="ID" 
                DataNavigateUrlFormatString="Dabka_Detail.aspx?ID={0}" 
                DataTextField="Dabka_Picture" 
                DataTextFormatString="&lt;img src=&quot;{0}&quot; height=&quot;200&quot; width=&quot;200&quot;&gt;" 
                HeaderText="Thumbnail ">
            <HeaderStyle Font-Underline="True" />
            </asp:HyperLinkField>
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
    <asp:SqlDataSource ID="DabkaDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
        
        SelectCommand="SELECT [ID], [Dabka_Name], [Dabka_Country], [Dabka_Description], [Dabka_Ryhthm], [Dabka_Members], [Dabka_Gender], [Dabka_Picture], [Dabka_URL] FROM [Dabka]">
    </asp:SqlDataSource>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</asp:Content>

